package com.twu.biblioteca;

public class Book implements Borrowable {
    private int customerId;
    private int bookId;

    @Override
    public void setCustomerId(int customerId)
    {
        this.customerId = customerId;
    }

    @Override
    public int getCustomerId()
    {
        return customerId;
    }

    @Override
    public int getItemId()
    {
        return bookId;
    }

    @Override
    public void setItemId(int bookId) {
        this.bookId = bookId;
    }

    @Override
    public String toString()
    {
        return String.format("%d\t%s", getItemId(), hashCode());
    }
}
